package com.hzeport.bgs22emduty.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hzeport.bgs22emduty.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("EMDU_BASE_GROUP_USER_RELATION")
@ApiModel(value = "人员群组关联表")
public class BaseGroupUserRelation extends BaseEntity {

    @ApiModelProperty(value = "群组ID：关联群组信息表BASE_GROUP_INFO主键ID")
    @TableField(value = "GROUP_GUID")
    @JsonProperty(value = "groupId")
    private String groupId;

    @ApiModelProperty(value = "人员ID：关联人员信息表BASE_PERSON_INFO主键ID")
    @TableField(value = "USER_NO")
    @JsonProperty(value = "userId")
    private String userId;


}
